* image.el (image-type-from-file-name, image-type): Simplify.
authorChong Yidong <cyd@stupidchicken.com>
Mon, 21 May 2007 16:42:52 +0000 (16:42 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 21 May 2007 16:42:52 +0000 (16:42 +0000)
(image-type-auto-detected-p): Don't scan auto-mode-alist.

* files.el (magic-mode-alist): Remove image-type-auto-detected-p.
(magic-fallback-mode-alist): Add image-type-auto-detected-p.

lisp/ChangeLog

index a6ebd95fcb923bbe02915b28c6292d9c1a87be3b..d650d225531e13c5470d3a9957b6f6e9be6bcb1f 100644 (file)
@@ -1,3 +1,11 @@
+2007-05-21  Chong Yidong  <cyd@stupidchicken.com>
+
+       * image.el (image-type-from-file-name, image-type): Simplify.
+       (image-type-auto-detected-p): Don't scan auto-mode-alist.
+
+       * files.el (magic-mode-alist): Remove image-type-auto-detected-p.
+       (magic-fallback-mode-alist): Add image-type-auto-detected-p.
+
 2007-05-20  Nick Roberts  <nickrob@snap.net.nz>
 
        * t-mouse.el (t-mouse-mode): Reset t-mouse-mode to nil if there